package net.cyndeline.entitySystem

/**
 * Mostly for mocking. Extend the AbstractEventHandlerSystem to create
 * new handlers.
 */
trait EventHandlerSystem {
  def events: List[Class[_ <: Event]]
  def onEvent(event: Event, entity: EntityRef): Unit
  def isValidFor(entity: EntityRef): Boolean
  def disable: Unit
  def enable: Unit
  def enabled: Boolean
}